//
//  AliyunOSSDemo.h
//  OSS上传
//
//  Created by edison on 2017/6/7.
//  Copyright © 2017年 edison. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void (^transferInfoValue) (NSString *uploadedUrl);


typedef void (^transferImagesValue) (NSArray *imagesUrlArray);


@interface LCAliyunOSS : NSObject

+ (instancetype)sharedInstance;

- (void)setupEnvironment;

//- (void)uploadObjectAsyncWith:(NSData *)uploadData withObjectKey:(NSString *)objectKey withAlbumNumber:(NSString *)number;


- (void)uploadObjectAsyncWith:(NSData *)uploadData withObjectKey:(NSString *)objectKey andUploadedUrl:(transferInfoValue)transfer;

- (void)uploadImagesAsyncWith:(NSArray *)uploadDataArray andUploadedUrl:(transferImagesValue)transfer;


@end
